import request from '@/utils/request'

// 查询客户信息列表
export function listCustomer(query) {
  return request({
    url: '/totalComster/list',
    method: 'get',
    params: query
  })
}

// 查询客户信息列表
export function transformerCustomer(data) {
  return request({
    url: '/totalComster/transformerCustomer',
    method: 'post',
    data: data
  })
}
export function delCustomer(data) {
  return request({
    url: '/totalComster/delCustomer/'+data,
    method: 'post'
  })
}

export function oneKeyIssueToDept(data) {
  return request({
    url: '/totalComster/oneKeyIssueToDept',
    method: 'post',
    data: data
  })
}


export function oneKeyIssueToUser(data) {
  return request({
    url: '/totalComster/oneKeyIssueToUser',
    method: 'post',
    data: data
  })
}



